package org.example.minebackend.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.minebackend.pojo.User;

@Mapper
public interface LoginMapper {
    @Select("select * from chinese_medicine.user where username=#{username} and password=#{password}")
    User userLogin(String username, String password);
}
